<!--12-JS中自定义对象2.html-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JS中自定义对象2</title>
    <script type="text/javascript">
        var obj = {
            addr:"ylaihui-algo",
            edu:"algo",
            show:function () {
                console.log(this.addr);
            }
        };
        console.log(obj.addr);
        obj.show();

    </script>
</head>
<body>

</body>
</html>